//
// Created on 2024/3/18.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef OHOS_OHOSVIDEOPLAYERHANDLER_H
#define OHOS_OHOSVIDEOPLAYERHANDLER_H
#include "napi/adapter/VideoPlayerHandler.h"
class OhosVideoPlayerHandler: VideoPlayerHandler{
    public:
        OhosVideoPlayerHandler();
        virtual void onPreparedEvent(int32_t id, VideoPlayerInfo *info);
        virtual void onEndedEvent(int32_t id, VideoPlayerInfo *info);
        virtual void onFailedEvent(int32_t id, VideoPlayerInfo *info);

};

#endif //OHOS_OHOSVIDEOPLAYERHANDLER_H
